package com.st.controller;


import com.st.listener.PageListener;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("do")
@RestController
public class TestController {
    @RequestMapping("do")
    public void test1(@RequestParam("id") Integer id){
        PageListener pageListener = new PageListener();
        pageListener.onMessage(id);
    }
}
